<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">


    <ui:composition template="/templates/templateNovedades.xhtml">
        <ui:define name="title">
            <h:outputText value=" "></h:outputText>
        </ui:define>
        <ui:define name="bodyNovedades">
        <h:form styleClass="jsfcrud_list_form">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <br/><br/>
            <h:panelGroup >
                <p:panel header="HISTORIAL DE DISPOSITIVOS ">
                    <p:dataTable value="#{usuariosController.listaHistorialUsuarios}" var="item" paginator="true" rows="15">
                    <p:column>
                        <f:facet name="header">
                            <h:outputText value="DIRECCION FISICA"/>
                        </f:facet>
                        <h:outputText value="#{item.direccionMac}"/>
                    </p:column>
                    <p:column>
                        <f:facet name="header">
                            <h:outputText value="DIRECCION IP"/>
                        </f:facet>
                        <h:outputText value="#{item.direccionIp}"/>
                    </p:column>
                   

                </p:dataTable>
                </p:panel>
            </h:panelGroup>


            <br />
            <br />
            <div align="center">
                <p:panel>
                    <h:commandButton value="REGRESAR" action="/index" immediate="true" />
                </p:panel>
            </div>
        </h:form>
        </ui:define>
    </ui:composition>

</html>
